﻿#ifndef __STD_AXF_NTRIP_H__
#define __STD_AXF_NTRIP_H__
#ifdef WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif // !WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX
#endif // !NOMINMAX

#include <Windows.h>
#define PCL_SLEEP(T) Sleep(T*1000)
#else
#define PCL_SLEEP(T) sleep(T)
#endif

#define DELETES(T) if(T!=NULL){delete[] T;T=NULL;}

#ifndef SWIG
#include <string>
#include <vector>
#endif
#define __EXPORT__ __declspec(dllexport)
#define __IMPORT__ __declspec(dllimport)

#if defined(NTRIP_LIBRARY)
#define NTRIP_EXPORT __EXPORT__
#else
#define NTRIP_EXPORT __IMPORT__
#endif
#define NTRIP_C_EXPORT extern "C"

#endif
